/*
 * @Author: your name
 * @Date: 2021-04-01 16:34:05
 * @LastEditTime: 2021-04-01 20:27:45
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \web\node\models\Sowing.js
 */
/* 轮播图的模式对象 */
import mongoose from "mongoose"

const errorSchema = mongoose.Schema({
    //错误名称
    error_name:{type:String, required:true},
    //错误消息
    error_message:{type:String,required:true},
    //错误堆栈
    error_stack:{type:String,required:true},
    //错误发生时间
    error_time:{type:Date,default:Date()}
})

const Error = mongoose.model("error",errorSchema);
export default Error;